package com.gb.demand.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 店铺自定义分类表  默认只有2级 顶级和次级
 * </p>
 *
 * @author shenzhiwen
 * @since 2020-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wemall_usergoodsclass")
@ApiModel(value="Usergoodsclass对象", description="店铺自定义分类表  默认只有2级 顶级和次级")
public class Usergoodsclass extends Model<Usergoodsclass> implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("addTime")
    private Date addTime;

    @TableField("deleteStatus")
    private Object deleteStatus;

    @ApiModelProperty(value = "分类名")
    @TableField("className")
    private String className;

    @ApiModelProperty(value = "是否显示")
    private Object display;

    @ApiModelProperty(value = "等级")
    private Integer level;

    @ApiModelProperty(value = "排序")
    private Integer sequence;

    @ApiModelProperty(value = "父类")
    private Long parentId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "折扣率")
    private String discount;

    @ApiModelProperty(value = "景德镇第三级分类id")
    private Integer jdzid;

    @ApiModelProperty(value = "新点--自定义分类id（categoryId）; 记录新南网的品类编码")
    private String epointid;

    @ApiModelProperty(value = "该自定义分类时从哪个店铺复制来的，记录这个店铺的主键id")
    private Long copyfromstore;

    @ApiModelProperty(value = "记录从哪个自定义分类复制来的，记录他的主键id")
    private Long copyfromugc;

    private String ygcatid;

    @ApiModelProperty(value = "博思guid 内蒙古 甘肃")
    private String bsguid;

    @ApiModelProperty(value = "博思pguid 内蒙古 甘肃")
    private String bspguid;

    private String numberRound;

    private String standardSystemFlag;

    private String qualityType;

    private String barcodeFlag;

    private String guowangBianma;

    private String guowangCategory;

    private String guowangWuliaoName;

    @TableField("nanwang_cat")
    private String nanwangCat;


}
